/*
 * Copyright (c) 2020, 2025, keyila All rights reserved.
 *
 */
package com.clp.study.Test.FiveToSix;

/**
 * @author clp
 * @version 1.0
 */
public class FiveOneZZ {
    public static void main(String[] args) {
        try {
            recursive(3);
        }catch (Exception e){
            System.out.println(e.getMessage());
        }
    }

    public static void recursive(int n){
        if (n==0) throw new RuntimeException("Exception reached!");
        System.out.println("n=" + n);
        recursive(n-1);
    }
}
